<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{excepcionesPoliticas.page1}" id="page1">
            <ui:html binding="#{excepcionesPoliticas.html1}" id="html1">
                <ui:head binding="#{excepcionesPoliticas.head1}" id="head1">
                    <ui:link binding="#{excepcionesPoliticas.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{excepcionesPoliticas.body1}" focus="form1:tipoSolicitudDropDown" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{excepcionesPoliticas.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:button action="#{excepcionesPoliticas.button1_action}" binding="#{excepcionesPoliticas.button1}" id="button1"
                            imageURL="/resources/home3.gif" mini="true" style="height: 29px; left: 48px; top: 120px; position: absolute; width: 46px" text="Cerrar"/>
                        <ui:button action="#{excepcionesPoliticas.consultar_action}" binding="#{excepcionesPoliticas.consultar}" id="consultar"
                            imageURL="/resources/consultar.png" mini="true" style="height: 29px; left: 120px; top: 120px; position: absolute; width: 46px" text="Buscar"/>
                        <ui:button action="#{excepcionesPoliticas.imprimirconsulta_action}" binding="#{excepcionesPoliticas.imprimirconsulta}"
                            id="imprimirconsulta" imageURL="/resources/action_print1.gif" mini="true"
                            style="height: 29px; left: 192px; top: 120px; position: absolute; width: 46px" text="Imprimir"/>
                        <ui:textField binding="#{excepcionesPoliticas.usuarioTextField}" id="usuarioTextField" style="left: 192px; top: 432px; position: absolute; width: 179px"/>
                        <ui:calendar binding="#{excepcionesPoliticas.ffinalcalendar}" columns="10" dateFormatPattern="dd-MM-yyyy" id="ffinalcalendar" style="left: 120px; top: 192px; position: absolute"/>
                        <ui:calendar binding="#{excepcionesPoliticas.finicialcalendar}" columns="10" dateFormatPattern="dd-MM-yyyy" id="finicialcalendar" style="left: 240px; top: 192px; position: absolute"/>
                        <ui:label binding="#{excepcionesPoliticas.label1}" id="label1" style="left: 120px; top: 336px; position: absolute" text="Producto"/>
                        <ui:label binding="#{excepcionesPoliticas.label3}" id="label3" style="left: 120px; top: 360px; position: absolute" text="Sublinea"/>
                        <ui:label binding="#{excepcionesPoliticas.label4}" id="label4" style="left: 120px; top: 288px; position: absolute" text="Agencia"/>
                        <ui:label binding="#{excepcionesPoliticas.label6}" id="label6" style="left: 120px; top: 432px; position: absolute" text="Usuario"/>
                        <ui:table augmentTitle="false" binding="#{excepcionesPoliticas.table2}" clearSortButton="true" id="table2" paginateButton="true"
                            paginationControls="true" style="left: 72px; top: 480px; position: absolute; width: 1560px" title="Solicitudes bajo Excepciones" width="1560"> polo&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table2");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table2");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table2");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table2");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table2");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table2");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{excepcionesPoliticas.tableRowGroup2}" id="tableRowGroup2" rows="15"
                                sourceData="#{excepcionesPoliticas.sct0022DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn21}" headerText="Solicitud" id="tableColumn21" sort="OBSRVCNES">
                                    <ui:hyperlink action="#{excepcionesPoliticas.btnSolicitud_action}" binding="#{excepcionesPoliticas.hyperlinkSolicitud}"
                                        id="hyperlinkSolicitud" immediate="true" text="#{currentRow.value['OBSRVCNES']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn15}" headerText="Tipo solicitud" id="tableColumn15" sort="CDGOESTDODCMNTCION">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText15}" id="staticText15" text="#{currentRow.value['CDGOESTDODCMNTCION']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn16}" headerText="Producto" id="tableColumn16" sort="AMPRDAPR">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText16}" id="staticText16" text="#{currentRow.value['AMPRDAPR']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn17}" headerText="Sublinea" id="tableColumn17" sort="INDCDRPLSTCO">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText17}" id="staticText17" text="#{currentRow.value['INDCDRPLSTCO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn19}" headerText="Ciudad" id="tableColumn19" sort="CDGOAGNTE">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText19}" id="staticText19" text="#{currentRow.value['CDGOAGNTE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn18}" headerText="Agencia" id="tableColumn18" sort="NITEMPRSAAGNTES">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText18}" id="staticText18" text="#{currentRow.value['NITEMPRSAAGNTES']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn20}" headerText="Mercado" id="tableColumn20" sort="NMROSLCTUDTTLAR">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText20}" id="staticText20" text="#{currentRow.value['NMROSLCTUDTTLAR']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn22}" headerText="Nit" id="tableColumn22" sort="CNDCNESPGRE">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText22}" id="staticText22" text="#{currentRow.value['CNDCNESPGRE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn23}" headerText="Nombre" id="tableColumn23" sort="MRGEN">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText23}" id="staticText23" text="#{currentRow.value['MRGEN']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn24}" headerText="P. apellido" id="tableColumn24" sort="TPOTSA">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText24}" id="staticText24" text="#{currentRow.value['TPOTSA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn25}" headerText="S. Apellido" id="tableColumn25" sort="TPOGRNTIA">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText25}" id="staticText25" text="#{currentRow.value['TPOGRNTIA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn26}" headerText="Motivo autorización" id="tableColumn26" sort="PLZO">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText26}" id="staticText26" text="#{currentRow.value['PLZO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn27}" headerText="Usuario que autoriza" id="tableColumn27" sort="GRNTIAOFRCDA">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText27}" id="staticText27" text="#{currentRow.value['GRNTIAOFRCDA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas.tableColumn28}" headerText="Fecha autorización" id="tableColumn28" sort="MNTOAPRBDO">
                                    <ui:staticText binding="#{excepcionesPoliticas.staticText28}" id="staticText28" text="#{currentRow.value['MNTOAPRBDO']}"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:alert binding="#{excepcionesPoliticas.alert1}" id="alert1" style="left: 458px; top: 167px; position: absolute; width: 214px"/>
                        <ui:messageGroup binding="#{excepcionesPoliticas.messageGroup1}" id="messageGroup1" style="left: 456px; top: 240px; position: absolute"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.productoDropDown}" id="productoDropDown"
                            items="#{excepcionesPoliticas.sct0004DataProvider.options['SCT0004.CDGOPRDCTO,SCT0004.DSCRPCION']}"
                            onChange="common_timeoutSubmitForm(this.form, 'productoDropDown');"
                            style="left: 192px; top: 336px; position: absolute; width: 220px" valueChangeListener="#{excepcionesPoliticas.productoDropDown_processValueChange}"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.sublineaDropDown}" id="sublineaDropDown"
                            onChange="common_timeoutSubmitForm(this.form, 'sublineaDropDown');"
                            style="left: 192px; top: 360px; position: absolute; width: 221px" valueChangeListener="#{excepcionesPoliticas.sublineaDropDown_processValueChange}"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.agenciaDropDown}" id="agenciaDropDown"
                            items="#{excepcionesPoliticas.sct0045DataProvider.options['SCT0045.CDGOAGNCIA,SCT0045.NMBREAGNCIA']}" style="left: 192px; top: 288px; position: absolute; width: 220px"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.tipoSolicitudDropDown}" id="tipoSolicitudDropDown"
                            items="#{excepcionesPoliticas.sct0021DataProvider.options['SCT0021.CDGOTPOSLCTUD,SCT0021.DSCRPCIONTPOSLCTUD']}"
                            onChange="common_timeoutSubmitForm(this.form, 'tipoSolicitudDropDown');"
                            style="left: 192px; top: 384px; position: absolute; width: 220px" valueChangeListener="#{excepcionesPoliticas.tipoSolicitudDropDown_processValueChange}"/>
                        <ui:label binding="#{excepcionesPoliticas.label2}" id="label2" style="left: 72px; top: 384px; position: absolute" text="Tipo de solicitud"/>
                        <ui:label binding="#{excepcionesPoliticas.label5}" id="label5" style="left: 120px; top: 264px; position: absolute" text="Ciudad"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.ciudadDropDown1}" id="ciudadDropDown1"
                            items="#{excepcionesPoliticas.sct0059DataProvider.options['SCT0059.CDGOCDAD,SCT0059.NMBRECDAD']}"
                            onChange="common_timeoutSubmitForm(this.form, 'ciudadDropDown1');" style="left: 192px; top: 264px; position: absolute; width: 221px" valueChangeListener="#{excepcionesPoliticas.ciudadDropDown1_processValueChange}"/>
                        <ui:label binding="#{excepcionesPoliticas.label7}" id="label7" style="left: 96px; top: 240px; position: absolute" text="Departamento"/>
                        <ui:dropDown binding="#{excepcionesPoliticas.departamentoDropDown}" id="departamentoDropDown"
                            items="#{excepcionesPoliticas.sct0058DataProvider.options['SCT0058.CDGODPRTMNTO,SCT0058.NMBREDPRTMNTO']}"
                            onChange="common_timeoutSubmitForm(this.form, 'departamentoDropDown');"
                            style="left: 192px; top: 240px; position: absolute; width: 220px" valueChangeListener="#{excepcionesPoliticas.departamentoDropDown_processValueChange}"/>
                        <ui:label binding="#{excepcionesPoliticas.label8}" id="label8"
                            style="height: 20px; left: 144px; top: 168px; position: absolute; width: 90px" text="Fecha Inicial"/>
                        <ui:label binding="#{excepcionesPoliticas.label9}" id="label9"
                            style="height: 20px; left: 264px; top: 168px; position: absolute; width: 90px" text="Fecha Final"/>
                        <ui:hiddenField binding="#{excepcionesPoliticas.hiddenField2}" id="hiddenField2"/>
                        <ui:hiddenField binding="#{excepcionesPoliticas.hiddenField1}" id="hiddenField1"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
